package cn.hx.service.impl;

import cn.hx.dao.ItemAboutDao;
import cn.hx.entity.ItemAbout;
import cn.hx.service.ItemAboutService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (ItemAbout)表服务实现类
 *
 * @author makejava
 * @since 2022-08-23 10:25:01
 */
@Service("itemAboutService")
public class ItemAboutServiceImpl implements ItemAboutService {
    @Resource
    private ItemAboutDao itemAboutDao;

    /**
     * 通过ID查询单条数据
     *
     * @param 主键
     * @return 实例对象
     */

    @Override
    public List<ItemAbout> queryById(Integer itemId) {
        return this.itemAboutDao.queryById(itemId);
    }
}